package com.go.where.family.dao;

import java.util.List;

import com.go.where.family.pojo.SmsAuthCodeInfo;

/**
 * 短信验证码信息dao
 * 
 * @author java
 * 
 */
public interface SmsAuthCodeDao extends BaseDao<SmsAuthCodeInfo, String> {

	/**
	 * 根据手机号码和验证码查询
	 * 
	 * @param info
	 * @return
	 */
	public SmsAuthCodeInfo queryByMobileAndCode(SmsAuthCodeInfo info);

	/**
	 * 查询当天获取到的验证码
	 * 
	 * @param info
	 * @return
	 */
	public List<SmsAuthCodeInfo> queryByMobile(SmsAuthCodeInfo info);
}
